package com.a3dweijing.wetouch2.adapter;

import android.content.Context;
import android.widget.ImageView;

import com.a3dweijing.wetouch2.Util.ImageLoaderUtil;
import com.a3dweijing.wetouch2.bean.BannerEntry;
import com.youth.banner.loader.ImageLoader;

/**
 * 用于从服务器请求的banner
 * Created by yxd on 2017/11/16.
 */

public class BannerImageLoader extends ImageLoader {
    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        ImageLoaderUtil.getLoader().loadImg4(((BannerEntry) path).getVideoShowImg(),imageView);
    }
}
